package com.hl.service;

import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.hl.mapper.ConsultationAppointmentMapper;
import com.hl.pojo.ConsultationAppointment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConsultationAppointmentServiceImpl implements ConsultationAppointmentService{
    @Autowired private ConsultationAppointmentMapper consultationAppointmentMapper;


    @Override
    public Integer add(ConsultationAppointment consultationAppointment) {
        return consultationAppointmentMapper.add(consultationAppointment);
    }

    @Override
    public List<ConsultationAppointment> findAll(Integer id) {
        return consultationAppointmentMapper.findAll(id);
    }

    @Override
    public List<ConsultationAppointment> findAll1(Integer id) {
        return consultationAppointmentMapper.findAll1(id);
    }
    @Override
    public List<ConsultationAppointment> findAll2() {
        return consultationAppointmentMapper.findAll2();
    }
    @Override
    public List<ConsultationAppointment> findAll3(String id) {
        return consultationAppointmentMapper.findAll3(id);
    }
    @Override
    public Integer del(Integer id) {
        return consultationAppointmentMapper.del(id);
    }
    @Override
    public Integer update(ConsultationAppointment consultationAppointment) {
        return consultationAppointmentMapper.update(consultationAppointment);
    }
}
